package org.zpmis.domain.contract.dao;

import org.zpmis.common.mapper.CrudMapper;
import org.zpmis.domain.contract.model.Contract;
import org.zpmis.domain.contract.vo.ContractCountReceived;
import org.zpmis.domain.contract.vo.ContractReceived;
import org.zpmis.domain.order.vo.OrderReceived;

import java.util.List;
import java.util.Map;

public interface ContractMapper extends CrudMapper<Contract> {

    /**
     * 合同款项统计
     * @param param
     * @return
     */
    List<ContractReceived> getContractReceived(Map<String,Object> param);

    /**
     * 合同数量统计 按月分组
     * @param param
     * @return
     */
    List<ContractCountReceived> getContractCountReceived(Map<String,Object> param);
}